package com.hadron.file 
{
	import flash.display.MovieClip;
	import flash.events.IEventDispatcher;
	
	/**
	 * ...
	 * @author Hadron
	 */
	[Event(name = "uploadComplete", type = "com.hadron.file.events.FileUtilEvent")]
	[Event(name = "uploadFail", type = "com.hadron.file.events.FileUtilEvent")]
	[Event(name = "fileUtilProgress", type = "com.hadron.file.events.FileUtilProgressEvent")]
	[Event(name = "fileSelect", type = "com.hadron.file.events.FileUtilEvent")]
	[Event(name = "saveComplete", type = "com.hadron.file.events.FileUtilEvent")]
	 
	public interface IFileUtil extends IEventDispatcher
	{
		function set uploadScriptURL(value:String):void;
		function get uploadScriptURL():String;
		function browse():void;
		function download():void;
		function upload():void;
		function get filePath():String;
		function get fileName():String;
		function get fileSize():Number;
		function createJPG(m:MovieClip, q:Number, fileName:String = 'snapshot',  maskerClip:MovieClip = null):void;
		function deleteFileFromServer():void;
		function get imageID():String;
	}
}